//
//  RegisterModel.swift
//  约健
//
//  Created by tyh on 2017/9/26.
//  Copyright © 2017年 tyh. All rights reserved.
//
/*
 "id":"88",
 "user_name":"123456111",
 "password":"6512bd43d9caa6e02c990b0a82652dca",
 "realname":"",
 "roleid":"2",
 "rolename":"学生",
 "sex":"",
 "sportnum":"0",
 "shaitunum":"0",
 "messagenum":"0",
 "focusnum":"0",
 "tel":"123456111",
 "intro":"",
 "birth":"",
 "academic":"",
 "sfz":"",
 "hobby":"",
 "email":"",
 "zipcode":"",
 "address":"",
 "url":"",
 "totalcarl":"0",
 "curweekcarl":"0",
 "armcarl":"0",
 "legcarl":"0",
 "vericode":"",
 "diamond":"0",
 "goldcoin":"0",
 "wechat":"",
 "sessionid":"ss8id0s28239pjbma6ssb6h1o7",
 "province_id":"0",
 "province_name":"",
 "city_id":"0",
 "city_name":"",
 "district_id":"0",
 "district_name":"",
 "listorder":"1",
 "vstate":"1",
 "insert_time":"0000-00-00 00:00:00",
 "lastlogtime":"2017-09-26 22:23:22",
 "logcount":"1",
 "duty":"",
 "photo":null,
 "photosize":""
 */
import UIKit

class RegisterModel: NSObject {
     var id:NSString!
     var sessionID:String!



class func RegisterModelWithDict(_ dict:NSDictionary)->RegisterModel{
    let model = RegisterModel()
    model.id = dict.value(forKey: "id") as! NSString
    model.sessionID = dict.value(forKey: "sessionid") as! String
    return model

}
}



